#include <stdio.h>
/* print Fahrenheit-Celsius table
 * for fahr = 0, 20, ..., 300 */
// floating-point version

int main()
{
    printf("  F    C\n");
    float celsius;
    for(celsius=0;celsius<=300;celsius+=20){
        printf("%3.0f %6.1f\n",celsius,celsius*9.0/5.0+32);
    }
}
